/* ws2812b.h */
#ifndef __WS2812B_H__
#define __WS2812B_H__

#include "board_init.h"

#define WS2812B_COLOR_BIT_NUM    24u

#define WS2812B_BIT0_CODE        0x08
#define WS2812B_BIT1_CODE        0x0E

void ws2812b_init(void);
void ws2812b_prepare_led_color(uint8_t * buff, uint32_t ledidx, uint32_t color);
void ws2812b_reflesh(uint8_t * buff, uint32_t size);

#endif /* __WS2812B_H__ */

